portableSql

SessionUser Portable SQL Function

Syntax

SessionUser as C ()

Returns

resultCharacter

Returns the current session user.

Description

Get the current session user (according to the SQL database server).

Discussion

The SessionUser function gets the current session user (according to the SQL database server).

AddHoursToDateTime() function executed on the Northwind MySQL database
SELECT FIRST 1 SessionUser() AS Expr1 FROM Customers
=root